require_relative 'xml_helpers'


module CSDNConfig
	module PreBuild

		class CopyArtifacts
			include XMLHelpers

			attr_reader :from, :archive_filter

			def initialize(opts={})
				@from = opts[:from] or raise "CopyArtifacts builder requires :from option"
				@archive_filter = opts[:filter]
			end

			def to_xml
				apply_template :copy_artifacts_from_another
			end
		end

	end
end

